package com.gopay.solution.domain.po;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

import com.gopay.common.domain.BaseEntity;

/**
 * 方案规则明细po基类
 * 
 * @SolutionRuleDtl.java
 * @author MA HUAN
 * @2013-3-22 下午4:24:00 www.gopay.com.cn Inc.All rights reserved.
 */
@MappedSuperclass
public abstract class SolutionRuleDtl extends BaseEntity {

    private static final long serialVersionUID = -6294702113411065905L;

    /**
     * 方案明细流水号
     */
    @Id
    @Column(name = "SQ", unique = true, nullable = false, precision = 22, scale = 0)
    private long sq;

    /**
     * 方案主键id
     */
    @Column(name = "SOLUTION_ID", unique = true, nullable = false, precision = 22, scale = 0)
    private long solutionId;

    /**
     * 创建时间
     */
    @Column(name = "CREATED_TS", nullable = false)
    private Date createTime;

    /**
     * 最后更新时间
     */
    @Column(name = "LAST_UPD_TS", nullable = false)
    private Date lastUpdTime;

    /**
     * 最后修改交易码
     */
    @Column(name = "LAST_UPD_TRANCODE", nullable = true, length = 10)
    private String lastUpdTranCode;

   
    public long getSq() {
        return sq;
    }

    public void setSq(long sq) {
        this.sq = sq;
    }

    
    public long getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(long solutionId) {
        this.solutionId = solutionId;
    }

   
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

   
    public Date getLastUpdTime() {
        return lastUpdTime;
    }

    public void setLastUpdTime(Date lastUpdTime) {
        this.lastUpdTime = lastUpdTime;
    }

   
    public String getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(String lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

}
